package blueprint4j.apps;

import blueprint4j.db.Entity;


public interface Authenticator {
	
	/**
	 * Returns a null if for any reason the user could not be authenticated
	 * 
	 * @param name
	 * @param password 
	 * @return An instance of AuthenticatedUser
	 */
	<xx extends Entity> AuthenticatedUser<xx> authenticateUser(String name,String password);
}
